-
Notifications
You must be signed in to change notification settings - Fork 119
Add optional preventInitialBackfill for SLO API #1071
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Will address #1070 |
I think the generated settings model found at generated/slo/model_settings.go is still missing a final component here, but that file is generated by OpenAPI so we probably have a change to make in our open API docs, or we need to re-run the generation script there?
9ae4605
to
49e39ec
Compare
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, especially the bits I didn't write!
@jasonrhodes I updated the client in #1303 |
* origin/main: fix: nil reference in api.kibana_synthetics.go:418 in case of unmarshable arrays (#1320) Bump github.com/hashicorp/terraform-plugin-framework (#1326) Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.37.0 to 2.38.0 (#1325) chore(deps): update golang:1.25.1 docker digest to 8305f5f (#1322) Clarify how acceptance tests should be run (#1324) Move diag utilities from utils to dedicated diagutil package (#1317) Add support for Kafka Fleet output types. (#1302) Allow a default for `allow_restricted_indices` within an API Key role descriptor (#1315) Improve docs generation (#1313) Add optional preventInitialBackfill for SLO API (#1071) Add support for dataViewId (#1305) [Feature] Add unenrollment_timeout parameter to Fleet Agent Policy resource (#1306) chore(deps): update actions/setup-go action to v6 (#1301) chore(deps): update golang docker tag to v1.25.1 (#1300) Update generated SLO client. (#1303)
Fixes #1070
Docs for this option are here: https://www.elastic.co/docs/api/doc/serverless/operation/operation-createsloop#operation-createsloop-body-application-json-settings-preventinitialbackfill
I've not done any Terraform additions like this one, so there is a good chance the syntax here is wrong — I see that this new setting likely needs to be added in a few additional places to make use of it after it's been added to the schema, so I'd appreciate guidance on where that needs to happen, exactly.
At any rate, it would be great to add this field, and as it's a new, optional field, it shouldn't have any breaking change consequences whatsoever.
UPDATE: I re-generated the SLO model files with openapi-generator, hoping it would only produce a small scope of changes in those files. It seems to have produced a LOT of changes, so I'll wait for guidance on how to handle that.